package com.travel.index.service;

import com.travel.index.pojo.SearchResult;

public interface HotelIndexService {

    //更新索引
    boolean doUpdateHotelIndex(Integer hotelId);

    //搜索
    SearchResult getHotelFromIndex(String queryString, int page, int rows, boolean highLight);

}
